/*所有元素的margin、padding清零*/
* {
	margin: 0;
	padding: 0;
}
body{
	background-color: #F3F4F5;
}
/*导航栏*/
.header {
	height: 42px;
	margin: 20px;
	background: linear-gradient(#FFFFFF, #FEFEFE);
}

/*屏幕宽度小于768px时的样式*/
@media screen and (max-width: 768px) {
	.header{
		height: auto;
	}
}

/*宽度大于1371*/
@media screen and (min-width: 1371px) {
	#main{
		height: 420px;
	}
}
/*宽度在1000到1371之间设置main高度*/
@media screen and (min-width: 1000px) and (max-width: 1371px) {
	#main{
		height: 840px;
	}
}
/*宽度小于1371*/
@media screen and (max-width: 1000px) {
	#main{
		height: inherit;
	}
}

/*小于1280px*/
@media screen and (max-width: 1280px) {
	#mainLeftContent{
		margin-right: auto;
	}
	#showRightContent{
		width: 310px;
		margin: 0 auto;
	}
}

@media screen and (min-width: 1280px) {
	#mainLeftContent{
		margin-right: 0;
	}
}

/*去掉a标签的下划线*/
a {
	text-decoration: none;
}

/*去掉鼠标悬停时a标签的下划线*/
a:hover {
	text-decoration: none;
}

/*去掉li前面的小黑点*/
ul {
	list-style: none;
}

/*轮播图的图片宽度设置*/
.item img{
	width: 100%;
}

/*导航栏的一个小图标*/
#tubiao {
	width: 30px;
	height: 26px;
}

/*导航栏里的a标签*/
.header a {
	font-size: 20px;
}

/*二级菜单的a标签*/
.subMenu a {
	display: block;
	/*设置二级菜单的a标签宽高为父容器宽高*/
	width: 100%;
	/*height: 100%;*/
}

.subMenu li {
	position: relative;
	/*数值低的会被数值高的遮挡*/
	z-index: 100;
	/*水平居中*/
	text-align: center;
	padding: 15px 0;
	/*不透明度，所有元素，包括文字*/
	/*opacity: 0.5;*/
	/*rgba的a就是不透明度,在这里设置二级菜单的背景色*/
	background-color: rgba(192, 192, 192, 0.8);
}

.header li {
	position: relative;
	/*数值低的会被数值高的遮挡*/
	z-index: 100;
}

/*在这里设置二级菜单鼠标悬停时的背景色*/
.subMenu li:hover {
	background-color: rgb(135, 206, 235);
}

.nav .subMenu {
	/*必须用overflow,不然内容会挤出去，就算设置高度为零也没意义*/
	overflow: hidden;
	top: 50px;
	left: 0;
	height: 0;
	/*从出现到完全出现所用的时间*/
	transition: 0.5s;
}

/*括号里的2，表示第二个,也就是心理量表测试这个的鼠标悬停事件，下面以此类推，保证height等于二级菜单的高度即可58.3*n */
.nav-tabs > li:nth-child(2):hover .subMenu {
	height: 175px;
}

.nav-tabs > li:nth-child(3):hover .subMenu {
	height: 117px;
}

.nav-tabs > li:nth-child(4):hover .subMenu {
	height: 117px;
}

#main {
	margin-top: 100px;
	width: 100%;
}

#mainLeft {
	height: auto;
	margin-bottom: 40px;
}

#mainLeft2 {
	height: auto;
	margin-bottom: 40px;
}

#mainMiddle{
	height: auto;
	margin-bottom: 40px;
	/*border: 1px solid red;*/
}

#mainRight {
	height: auto;
	width: auto;
	margin-bottom: 140px;
}

/*装推文和量表的div样式*/
#mainLeftContent {
	/*推文那个框的设置*/
	border: 1px dashed green;
	margin-top: 0;
	margin-left: auto;
	width: 500px;
	height: 400px;
	/*圆角*/
	border-radius: 25px;
	/*推文那一块的背景色*/
	background-color: rgb(254, 233, 202);
}

.mls {
	float: left;
	cursor: pointer;
	width: 50%;
	height: 50px;
	text-align: center;
	font-size: 20px;
	padding: 10px;
}

/*展示右边的内容，将左边的内容隐藏掉，在这里写右边的样式*/
.showright {
	border-Right: 1px solid black;
	border-bottom: 1px solid black;
	/*非选中状态上边的背景色*/
	background-color: gainsboro;
	/*与上边圆角一致*/
	border-top-left-radius: 25px;
}

.showleft {
	border-Left: 1px solid black;
	border-Bottom: 1px solid black;
	/*非选中状态上边的背景色*/
	background-color: gainsboro;
	/*与上边圆角一致*/
	border-top-right-radius: 25px;
}

.showContent {
	width: 100%;
	height: auto;
}

.showContent ul {
	margin-top: 75px;
}

/*每条推文、量表的margin和padding和样式设置*/
.showContent li {
	margin-top: 10px;
	padding: 5px 10px;
}

#showContent2 {
	/*隐藏*/
	display: none;
}

#mainMiddleContent{
	width: 500px;
	height: 400px;
	margin: 0 auto;
	/*border: 1px dashed blue;*/
	background-color: #ffffff;
	border-radius: 25px;
}

#middleScrollContent{
	height: 100%;
	padding: 20px;
	font-family:"Microsoft YaHei",微软雅黑,"MicrosoftJhengHei",华文细黑,STHeiti,MingLiu;
}

#showRightContent{
	height: auto;
}

/*装大图片的div*/
#mainRightPicture{
	width: 300px;
}

#showPicture {
	/*图片展示的圆角*/
	border-radius: 10px;
	/*放大展示的图片大小*/
	width: 300px;
	height: 300px;
	/*鼠标停留时变为手指状*/
	cursor: pointer;
}


.moon{
  position: relative;
	top: 0px;
	width: 40px;
	height: 40px;
	float: left;
}

.sun{
	position: relative;
	top: 0px;
	width: 40px;
	height: 40px;
	left: 0px;
	float: left;
}

.title_more{
	position: relative;
	top: 10px;
	float: right;
	color: #bbbaba;
	font-size: 20px;
	font-weight: normal;
	margin-left: 10px;
	font-family: "微软雅黑";
}

.article{
   position: relative;
	border-radius: 5px 5px 0px 0px;
	bottom: 2px;
	float: left;
	margin-left: 20px;
	height: 50px;
	letter-spacing: 1px;
	color: #999999;
	padding: 0px 5px;
}

.notice{
	width: 500px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-size: 20px;
	margin-left: 50px;
	font-weight: 500;
	color: orange;
}

.slp {
	/*圆角*/
	border-radius: 10px;
	cursor: pointer;
	/*下面缩略图的宽高*/
	width: 80px;
	height: 80px;
	margin: 10.5px;
}

.current {
	/*缩略图的边框*/
	border: 3px solid gold;
}

#smallPictures li {
	float: left;
}

/*尾部*/
#footer {
	width: 100%;
	height: auto;
	background-color: #4C4C4C;
}

#footerContent {
	color: white;
	text-align: center;
	font-size: 15px;
	height: auto;
	margin-top: 100px;
}


#footerContent a {
	color: white;
}

#footerContent p {
	padding: 25px;
}

/*尾部logo*/
#footerLogoContainer {
	width: 100px;
	margin: 0 auto -15px;
	padding-top: 35px;
}

#footerLogo {
	width: 100px;
}
